import request from '@/utils/request'

// 查询GdMerchantAuth列表
export function listGdMerchantAuth(query) {
    return request({
        url: '/api/v1/gdmerchantauth',
        method: 'get',
        params: query
    })
}

// 查询GdMerchantAuth详细
export function getGdMerchantAuth (ID) {
    return request({
        url: '/api/v1/gdmerchantauth/' + ID,
        method: 'get'
    })
}


// 新增GdMerchantAuth
export function addGdMerchantAuth(data) {
    return request({
        url: '/api/v1/gdmerchantauth',
        method: 'post',
        data: data
    })
}

// 修改GdMerchantAuth
export function updateGdMerchantAuth(data) {
    return request({
        url: '/api/v1/gdmerchantauth/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdMerchantAuth
export function delGdMerchantAuth(data) {
    return request({
        url: '/api/v1/gdmerchantauth',
        method: 'delete',
        data: data
    })
}

